When you attach animation to an object you define how you want it to behave at run time.
Object animation associates objects with tags or expressions so the appearance or movement of an object changes to reflect changes to a tag's or expression's value. Use the menu options on the Animation menu to open the Animation dialog boxes where you define object behavior. If the animation type is not supported for the selected object, the boxes in the tab are unavailable.
In the animation tabs for horizontal and vertical sliders, you assign a single tag to define animation. For other types of animation, define an expression in the Expression box. Specify how the object's appearance changes based on the result of the expression.
For some types of animation you specify a change of state. For example, an object with visibility animation switches between visible and invisible. For other types of animation, you specify a range of motion. For example, an object can move from a fixed starting point to a fixed end point. The range of motion is related to the minimum and maximum values for the expression. The object moves from the At minimum position to the At maximum position as the expression value changes to the maximum value.
When specifying a tag name you can use an existing HMI tag or direct referenced data item, create a new one, or use a tag placeholder.
You can attach these types of animation to drawing objects: color, fill, height, horizontal position, horizontal slider, rotation, vertical position, vertical slider, visibility, and width. The exceptions are the image and panel objects, which only support visibility animation.
For the other objects and ActiveX controls, you can attach visibility animation only.
Tip: |
|
Keywords: animation